<html>
<head>
<%@include file="templates/header.jsp"%>
<script type="text/javascript">
			function setSubmitAction(action)
			{
				document.getElementById('submitAction').value=action;
				document.getElementById('testForm').submit();
			}
		</script>
</head>
<body>
<h4>SELECCIONE UNA ACCION</h4>
<form id="testForm" action="../public/accion.htm">
<table>
	<tr>
		<td><input id="altaButton" type="button" value="ALTA"
			onclick="setSubmitAction('alta')" /> <input id="bajaButton"
			type="button" value="BAJA" onclick="setSubmitAction('baja')" /> <input
			id="modificacionButton" type="button" value="MODIFICACION"
			onclick="setSubmitAction('modificacion')" /> <input
			id="seleccionButton" type="button" value="SELECCION"
			onclick="setSubmitAction('seleccion')" /></td>
	</tr>

</table>
<input type="hidden" name="submitAction" id="submitAction" /></form>

<jsp:useBean id="now" class="java.util.Date" />
<p>
<h5>Hoy es: <c:out value="${now}" /></h5>
</p>
</body>
</html>